# HSQLDBDialectResolver.java

    package org.codefilarete.stalactite.sql.hsqldb;

    import org.codefilarete.stalactite.sql.Dialect;
    import org.codefilarete.stalactite.sql.DialectResolver;
    import org.codefilarete.stalactite.sql.ServiceLoaderDialectResolver.DatabaseSignet;

    /**
     * @author Guillaume Mary
     */
    public class HSQLDBDialectResolver {

    	public static class HSQLDB_2_7_Entry implements DialectResolver.DialectResolverEntry {

    		private static final Dialect HSQLDB_DIALECT = HSQLDBDialectBuilder.defaultHSQLDBDialect();

    		@Override
    		public DatabaseSignet getCompatibility() {
    			return HSQLDBDatabaseSettings.HSQLDB_2_7.getCompatibility();
    		}

    		@Override
    		public Dialect getDialect() {
    			return HSQLDB_DIALECT;
    		}

    		@Override
    		public HSQLDBDatabaseSettings getVendorSettings() {
    			return HSQLDBDatabaseSettings.HSQLDB_2_7;
    		}
    	}

    	static final class HSQLDBDatabaseSignet extends DatabaseSignet {

    		public HSQLDBDatabaseSignet(int majorVersion, int minorVersion) {
    			super("HSQL Database Engine", majorVersion, minorVersion);
    		}
    	}
    }